package org.example.zcn2022.mapper;

import org.apache.ibatis.annotations.*;
import org.example.zcn2022.entity.ZcnStaff;
import java.util.List;

@Mapper
public interface StaffMapper {
    @Select("SELECT * FROM staff")
    public List<ZcnStaff> getZcnStaffs();


    @Insert("INSERT INTO staff(staffNumber,staffName) VALUES(#{staffNumber},#{staffName})")
    public void setZcnStaff(ZcnStaff zcnStaff);

}
